<template>
  <div>
    <s3-file-list :s3_access_id="detailDataNow.s3_access_id" :s3_path="detailDataNow.s3_path" v-if="detailDataNow.s3_access_id" />
    <file-list :biz_id="$route.query.id" type="dataset" v-else />
  </div>
</template>

<script>

export default {
  data () {
    return {
      detailDataNow: {}
    };
  },
  props: ['detailData'],
  watch: {
    detailData(val) {
      this.detailDataNow = val
      console.log('this.detailDataNow',this.detailDataNow)
    }
  },
  async created () {
    this.detailDataNow = this.detailData
    console.log('this.detailDataNow',this.detailDataNow)
  },
  mounted () {
    
  },
  methods: {
    
  }
}
</script>
<style lang="less" scoped>

</style>